ostree export: Add --prefix option
authorAlexander Larsson <alexl@redhat.com>
Mon, 18 Apr 2016 12:26:02 +0000 (14:26 +0200)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Tue, 19 Apr 2016 12:28:06 +0000 (12:28 +0000)
commit5595664e47a483512a39a643adb54c523b77de97
treeb149331a22743a7f0a7a34b377031a0015bc3151
parent5079f70ec07d695dc636b34728dc504426db61ea
ostree export: Add --prefix option

This lets you set a prefix for the resulting archive patsh.
Especially useful in combination with --subpath, for instance
--subpath=subdir --prefix=subdir to extract just subdir.

Closes: #265
Approved by: cgwalters
src/libostree/ostree-repo-libarchive.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-export.c
tests/test-export.sh